<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script src="config.js"></script>
    <script src="jquery-3.3.1.min.js"></script>
    <script src="jquery.lazyload.min.js"></script>
    <script>
     $(function () {
        $("form").submit(function(e){
            var data = {};
            var t = $('form').serializeArray();
            $.each(t, function() {
                    data [this.name] = this.value;
                    });
             var jsondata = JSON.parse(JSON.stringify(data));


       });
       })

    </script>
</head>
<body>

<form name="input" action="" method="get">
    <input type="text" name="FirstName" value="Mickey" size="20">
    <input type="text" name="LastName" value="Mouse" size="20">
    <input type="submit" value="Submit">
</form>
<!--      <input id="ddd" name="acvs1" value="">-->
<!--    <input id="ddd" type="hidden" value="3">-->
<!--<input id="id" type="hidden" value=""/>     //
        $(function () {
            //var input=window.prompt("档案id");
            $("#ddd").val();
            alert($("#ddd").val());
        })
-->

</body>
</html>